$(()=>{
    $('#loginBtn').click(function () {
        location.href = "./usercenter.html"
    })
    $('#signupBtn').click(function () {
        location.href = "./login.html"
    })
    $('#toLogin').click(function () {
        location.href = "./login.html"
    })
    $('#toRegister').click(function () {
        location.href = "./register.html"
    })
})